From 334c7911c1858177f23469b6262eacca5a175b66 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Tue, 29 May 2018 13:59:06 +0300 Subject: [PATCH] gesture: Fix get_last_event() docs Querying the event sequence of a gesture will always yield NULL for non-touch events, but passing NULL in to calls to gtk_gesture_get_last_event() is a perfectly valid use case. --- gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index f9673ebf14..b45ab6e17e 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -1159,7 +1159,7 @@ gtk_gesture_get_last_updated_sequence (GtkGesture *gesture) /** * gtk_gesture_get_last_event: * @gesture: a #GtkGesture - * @sequence: a #GdkEventSequence + * @sequence: (nullable): a #GdkEventSequence * * Returns the last event that was processed for @sequence. * -- 2.30.2